9202116eaba53574768a0eaced87167b110c3dc7,metasfresh-webui-api/src/main/java/de/metas/ui/web/address/AddressRestController.java,AddressRestController,processChanges,#number#List#,105

Before Change


	{
		userSession.assertLoggedIn();

		Execution.callInNewExecution("processChanges", () -> {
			addressRepo.processAddressDocumentChanges(docId, events);
			return null; // void
		});
		return JSONDocument.ofEvents(Execution.getCurrentDocumentChangesCollector(), newJsonOpts());
	}

	@RequestMapping(value = "/{docId}/attribute/{attributeName}/typeahead", method = RequestMethod.GET)

After Change


	{
		userSession.assertLoggedIn();

		return Execution.callInNewExecution("processChanges", () -> {
			addressRepo.processAddressDocumentChanges(docId, events);
			return JSONDocument.ofEvents(Execution.getCurrentDocumentChangesCollector(), newJsonOpts());
		});
	}

	@RequestMapping(value = "/{docId}/attribute/{attributeName}/typeahead", method = RequestMethod.GET)